<template>
	<view class="product_vdieo_layout">
		<text class="header_class">视频</text>
		<video class="vdieo_class" :src="data.tempFilePath"
			@error="videoErrorCallback"  controls object-fit="fit"></video>
	</view>
</template>

<script setup>
const props = defineProps(['data'])
const vdieoSource = props.data
</script>

<style lang="scss" scoped>
.product_vdieo_layout{
	width: 100%;
	height: 100%;
	.header_class{
		font-size: 36rpx;
		color: #000;
	}
	.vdieo_class{
		margin-top: 20rpx;
		width: 100%;
		height: 400rpx;
	}
}
</style>